<form class="ui large form" th:action="@{/api/admin/login}" method="post" >
    <div class="ui segment">
        <div class="field">
            <div class="ui left icon input">
                <i class="user icon"></i>
                <input type="text" name="username" placeholder="用户名">
            </div>
        </div>
        <div class="field">
            <div class="ui left icon input">
                <i class="lock icon"></i>
                <input type="password" name="password" placeholder="密码">
            </div>
        </div>
        <button class="ui fluid large teal submit button">
            登   录
        </button>
    </div>
    <div class="ui error mini message"></div>
    <div class="ui mini negative message" th:if="${message!=null}" th:text="${message}"></div>
</form>
